#pragma once

#include "../UserRegionDef.h"
#include "IniConfig.h"

using namespace rsws;

class UserRegionSaver
{
public:
    UserRegionSaver();
    ~UserRegionSaver();

    bool DeleteFile(const QString &polygon);
    void Save2File(const GeoPolygon &polygon);
    static GeoPolygon LoadFromFile(const std::string &file_path);
};